package com.yazi.mxz.behavior.entity.repository;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 各种数据同步的进度日志(from oracle to mongodb)
 * @author mo_yq5
 * @date 2015-9-8
 */
@Document
public class DataSyncLog implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Indexed
	private Integer id;	// 数据类别ID
	private Long lastTime;// 上次同步时间
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Long getLastTime() {
		return lastTime;
	}
	public void setLastTime(Long lastTime) {
		this.lastTime = lastTime;
	}
	
}
